package com.youhome.service.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by chen365 on 2018/07/06.
 * 同屋居住者
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel
public class HouseholdItemResult {
    @ApiModelProperty(notes = "同屋居住总数")
    private Double total;

    @ApiModelProperty(notes = "平均居住房屋价格")
    private Double value;

    @ApiModelProperty(notes = "平均居住房屋建筑年份")
    private Double year_built;

    @ApiModelProperty(notes = "平均居住年份")
    private Double duration;

    @ApiModelProperty(notes = "居住数据统计")
    private OccupancyResult occupancy;

}
